---t_herospecial.csv
---@class HerospecialBean
local HerospecialBean = ClientFight.CreateClass("HerospecialBean")
function HerospecialBean:ctor()
    --@TplAttr(name = "f_Id")
    self.id = 0

    --/**1boss 2英雄位 */
    --@TplAttr(name = "f_Type")
    self.f_Type = 0

    --/**BOSS使用*/
    --@TplAttr(name = "f_HeroID")
    self.f_HeroID = 0

    --/*** 普攻*/
    --@TplAttr(name = "f_AtkId")
    self.f_AtkId = 0
    --@TplAttr(name = "f_SkillId")
    self.f_SkillId = 0
    --@TplAttr(name = "f_SkillId2")
    self.f_SkillId2 = 0
    --@TplAttr(name = "f_BuffSkill")
    ---@type number[]
    self.f_BuffSkill = nil
end
function HerospecialBean:loadCfg(cfg)
    self.id = cfg.f_Id
    self.f_Type = cfg.f_Type
    self.f_HeroID = cfg.f_HeroID
    self.f_AtkId = cfg.f_AtkId
    self.f_SkillId = cfg.f_SkillId
    self.f_SkillId2 = cfg.f_SkillId2
    self.f_BuffSkill = decodeJsonStrToTabel(cfg.f_BuffSkill)
end